package com.gitee.fsmxm.zd.bili.entity;

/**
 * 连接弹幕websocket服务成功后，5秒内要发送的进房认证信息
 */
public class EnterRoomInfo {
    private int uid;        // 用户id, 0 表示匿名用户
    private int roomid;     // 要进入的房间id
    private int protover;   // 协议版本 0 1 2 3
    private String platform = "web";    //平台
    private int type = 2;   // 未知类型
    private String key;     // key

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public int getRoomid() {
        return roomid;
    }

    public void setRoomid(int roomid) {
        this.roomid = roomid;
    }

    public int getProtover() {
        return protover;
    }

    public void setProtover(int protover) {
        this.protover = protover;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }
}
